#pragma once


// CHyperEdit

class CHyperEdit : public CEdit
{
	DECLARE_DYNAMIC(CHyperEdit)

public:
	CHyperEdit();
	virtual ~CHyperEdit();
	void SetURL(CString strURL);
	CString GetURL() const;

	int GotoURL(LPCTSTR url, int showcmd);
protected:
	DECLARE_MESSAGE_MAP()

	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	CString  m_strURL;                  // Hyperlink URL string
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};


